::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    /* box-shadow: inset 0 0 0px rgba(240, 240, 240, 0.5); */
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    box-shadow: inset 0 0 0px rgba(240, 240, 240, 0.5);
    background-color: rgba(100, 100, 100, 0.5);
}

::selection {
    background: rgba(170, 210, 255, 1);
}

html {
    scrollbar-width: thin;
    /*firefox*/
}

body {
    word-break: break-all;
}

h1,
h2,
h3 {
    margin: 0
}

p {
    margin: 0;
    line-height: 1.5
}

input {
    outline: none;
}

textarea {
    outline: none;
}

field{
    outline: none;
    text-decoration: none;
    color: #000;
    min-height: 20px;
}

field[contenteditable=true], field[type=DateTime], field[type=DropdownList]{
    background-color: #eff;
}

field[readonly]{
    background-color: #fff;
}

field[contenteditable=true]:focus {
    background-color: #aff;
}

field:before {
    content: "{";
    color: blue;
}

field:after {
    content: "}";
    color: blue
}

field.blank {
    color: lightgray;
}

field.white-blank {
    color: rgba(255, 255, 255, 0)
}

field.error {
    color: red;
}

img {
    max-width: 100%
}

img[type=sign]{
    background-color: #f9f9f9;
}

table {
    border-collapse: collapse;
    border: 1px solid gray;
    word-break: break-all;
}
thead, tfoot {
     outline: 1px dashed rgba(255, 0, 0, 1);
}

thead::before, tfoot::before{
    font-size: xx-small;
    content: '每页打印';
    cursor: pointer;
    white-space: nowrap;
    color: white;
    padding: 0px 5px;
    position: absolute;
    left: -35px;
    background-color: rgba(255, 0, 0, 0.5);
    border-radius: 3px;
}

td {
    border: 1px solid gray;
    padding: 2px;
    height: 1.5em;
    word-break: break-all;
}

td.selected {
  background-color: rgba(0, 0, 255, 0.1)!important;
}

group{
    outline: 1px dashed blue;
}

[tag=true]::before {
    font-size: xx-small;
    content: attr(title);
    cursor: pointer;
    white-space: nowrap;
    color: white;
    padding: 0px 5px;
    position: absolute;
    left: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 3px;
}

#_page {
    position: relative;
    z-index: 1;
    outline: 1px solid #ccc;
}

#_dropdownbox,
#_datalist {
    z-index: 2;
    list-style: none;
    position: absolute;
    max-height: 300px;
    overflow: auto;
    cursor: hand;
    outline: none;
    display: none;
    background: #fff;
    border: rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 8px 2px rgb(68 73 77 / 26%);
    border-radius: 4px;
    padding: 1px 0;
}

#_dropdownbox>li,
#_datalist>li {
    padding: 0 10px;
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
    align-items: center;
}

#_dropdownbox>li:hover,
#_datalist>li:hover {
    background: lightgray;
}

#_contexMenu {
    position: absolute;
    z-index: 2;
    cursor: hand;
    outline: none;
    min-width: 180px;
    display: none;
    background: #fff;
    border: rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 8px 2px rgb(68 73 77 / 26%);
    -webkit-box-shadow: 0 2px 12px 2px rgb(68 73 77 / 26%);
    border-radius: 4px;
    padding: 1px 0px;
    user-select: none;
    -webkit-user-select: none;
}

#_contexMenu>li {
    padding: 0 20px;
    font-size: 12px;
    line-height: 2;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#_contexMenu>li:hover {
    background: lightgray;
}

#_tagPanel,
#_historyPanel {
    position: fixed;
    top: 0;
    z-index: 0;
    padding: 10px;
    height: 100%;
    width: 160px;
    display: none;
    text-align: left;
    overflow-x: hidden;
    text-overflow: ellipsis;
    overflow-y: auto;
    user-select: none;
    -webkit-user-select: none;
}

#_historyList>li,
#_tagList>li {
    cursor: pointer;
    white-space: nowrap;
    /* overflow: hidden; */
    text-overflow: ellipsis;
}

#_historyList>li:hover,
#_tagList>li:hover {
    color: #000;
    font-weight: bold;
}

.shink {
    animation: shink 0.5s infinite;
    animation-iteration-count: 3;
}

@keyframes shink {
    from {
        background-color: #f99;
    }

    to {
        background-color: #eff;
    }
}

.mask {
    -webkit-mask-image: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, 0.4))
}

.close {
    position: absolute;
    right: 5px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    background-image: url();
}

.apply {
    position: absolute;
    right: 30px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    background-image: url();
}

.pageline {
    Width: 100%;
    height: 0;
    border-top: 1px dashed #999;
    position: absolute;
    color: #999;
    font-size: xx-small;
    text-align: right;
    vertical-align: super;
}

.pageline>span {
    position: absolute;
    bottom: 5px;
    right: -35px;
}

.pageline>ft {
    position: absolute;
    top: 5px;
    right: -35px;
}

.message {
    position: absolute;
    text-align: center;
    white-space: nowrap;
    top: 20px;
    left: 50%;
    padding: 0 5px 1px;
    font-size: 11px;
    color: #fff !important;
    max-width: none;
    background: #ff6969;
    z-index: 1;
    border-radius: 5px;
    user-select: none;
    -webkit-user-select: none;
}

.message::after {
    content: '';
    width: 0;
    height: 0;
    border: 5px solid;
    position: absolute;
    top: -10px;
    left: 5px;
    border-color: transparent transparent #ff6969;
}

.td-line-style1 {
    outline: none;
    background-color: rgb(255, 255, 255);
    background-image: url("");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}


.td-line-style2 {
    outline: none;
    background-color: rgb(255, 255, 255);
    background-image: url("");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}